url = '/account/profile.html'
description = '会员登陆情报'
layout = 'default-x'
is_hidden="0"

[session]
security = "user"
redirect = "account/login"
==
<div id="contents">
    <nav class="crumbs_nav">
        <ul class="crumbs_list rdstr">
            <li class="crumbs_item">
                <a class="crumbs_link" href="/">
                    <span>ホーム</span>
                </a>
            </li>
            <li class="crumbs_item">
                <a class="crumbs_link" href="{{ 'account/dashboard'|page }}">
                    <span>マイページ</span>
                </a>
            </li>
            <li class="crumbs_item no_deco">
                <span class="crumbs_link">会員情報変更</span>
            </li>
        </ul>
    </nav>
    {{ form_open({'id':'editinput','request' : 'onSaveAccount' }) }}
    <section class="section_margin">
        <h3 class="title2">会員情報変更</h3>
        <div class="grid_margin">
            <div style="color:#999;">
                <div class="chasier_label">メールアドレス</div>
                {{ user.email }}
            </div>
            <div class="mt10">
                <div class="box_horizon">
                    <div class="right_margin">
                        <div class="chasier_label">お名前 漢字 全角（姓と名） </div>
                    </div>
                    <div>
                        <div class="chasier_label">お名前 カナ 全角（姓と名）</div>
                    </div>
                </div>
                <div class="box_horizon">
                    <div >
                        <input class="commonInput" type="text" name="profile[name]" value="{{ user.name }}" size="8" maxlength="20" placeholder="（例）田中洋子">
                    </div>
                    <div class="mt10">
                        <input class="commonInput" type="text" name="profile[surname]" value="{{ user.surname }}" size="8" maxlength="20" placeholder="（例）タナカ　ヨウコ">
                    </div>
                </div>
            </div>

            <div class="mt10">
                <label class="chasier_label">新しいパスワード</label>
                <input class="commonInput" type="password" name="profile[password]" size="9" placeholder="半角英数6～20文字">
            </div>
            <div class="mt10">
                <label class="chasier_label">新しいパスワードを確認する</label>
                <input class="commonInput" type="password" name="profile[password_confirmation]" size="9" placeholder="半角英数6～20文字">
            </div>
            <div class="mt10">
<!--                 <a class="_submit button_decide mt20" href="#editinput">
                    <span class="button_txt">次へ</span>
                </a> -->
                <input class="_submitHide button_decide" type="submit" name="" value="次へ">
            </div>
        </div>
    </section>
    {{ form_close() }}
</div>